const rules = {
	title: [{
		required: true,
		message: '请输入分类标题',
		trigger: ['change', 'blur']
	}],
	menu_id: [{
		required: true,
		message: '请输入唯一菜单id',
		trigger: ['change', 'blur']
	}],
	sort: [{
		required: true,
		type: "number",
		message: '请填写排序',
		trigger: ['blur', 'change']
	}],
}
let form = {
	"parent_id": null,
	"menu_id": '',
	"title": '',
	"icon": '',
	"is_show": 1,
	"sort": '',
	"url": null,
	"is_alibaba_icon": 1,
	"create_date": null,
	"create_uid": null
}
const radioList1 = [{
		name: '不展示',
		disabled: false,
		value: 0
	},
	{
		name: '展示',
		disabled: false,
		value: 1
	}
]
const radioList2 = [{
		name: '否',
		disabled: false,
		value: 0
	},
	{
		name: '是',
		disabled: false,
		value: 1
	}
]
export {
	rules,form,radioList1,radioList2
}